package com.settlement.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelProperty;
import java.util.HashMap;
import java.util.Map;
import java.math.BigDecimal;

/**
* <p>
* 百盛退货明细表导入VO
* </p>
*
* @author huangrensen
* @since 2024-09-06
*/
@Schema
@Data
public class BsOmsReturnOrderDetailImportVo implements Serializable {
    @ExcelProperty(value = "订单ID")
    private String oId;
    @ExcelProperty(value = "售后分类")
    private String type;
    @ExcelProperty(value = "商品编码")
    private String skuId;
    @ExcelProperty(value = "线上子订单编号")
    private String outerOiId;
    @ExcelProperty(value = "申请数量")
    private String qty;
    @ExcelProperty(value = "退货数量")
    private String rQty;
    @ExcelProperty(value = "线上明细金额")
    private String shopAmount;
    @ExcelProperty(value = "单价")
    private String price;
    @ExcelProperty(value = "申请金额")
    private String amount;
    @ExcelProperty(value = "是否赠品")
    private String isGift;
    @ExcelProperty(value = "商品品牌")
    private String brand;

    public static Map<String, String> getKeyMap(){
        Map<String, String> map = new HashMap<>();
        map.put("订单ID", "oId");
        map.put("售后分类", "type");
        map.put("商品编码", "skuId");
        map.put("线上子订单编号", "outerOiId");
        map.put("申请数量", "qty");
        map.put("退货数量", "rQty");
        map.put("线上明细金额", "shopAmount");
        map.put("单价", "price");
        map.put("申请金额", "amount");
        map.put("是否赠品", "isGift");
        map.put("商品品牌", "brand");
        return map;
    }
}
